﻿using System;
using System.Runtime.Serialization;
using ProtoBuf;

namespace KC.Framework.Base
{
    /// <summary>
    /// 继承于EntityBase
    /// 系统流程相关复用字段，业务数据URL，业务数据状态更新URL，流程值，流程ID
    /// </summary>
    [Serializable]
    [ProtoContract]
    [DataContract(IsReference = true)]
    public abstract class FlowEntityBase : EntityBase
    {
        /// <summary>
        /// 流程
        /// </summary>
        [DataMember]
        [ProtoMember(1)]
        public int Flow { get; set; }
        /// <summary>
        /// 流程ID
        /// </summary>
        [DataMember]
        [ProtoMember(2)]
        public int Flowpos { get; set; }
    }
}
